Support referenced libraries#2
Conversation
| # Note: From empirical testing in AS, the path to a referenced library must be | ||
| # relative, if the source is somewhere within the folder where the .apj lives | ||
| # absolute, if the source is somewhere outside the folder where the .apj lives |
There was a problem hiding this comment.
Curious about this, because our repo structure with example and src directories next to each other allows us to specify relative paths to source objects from within .pkg files in the AS project (even though src folder is outside the folder where the .apj lives). Can you elaborate on this? One example of such a reference that works in the axislib repo: <Object Type="Library" Language="ANSIC" Reference="true">..\..\src\ACP10Ar\AxisLib\ANSIC.lby</Object>
There was a problem hiding this comment.
Yeah, you are correct that my statements are erroneous. After some more testing, I looks like the more accurate thing to say is along the lines of "AS doesn't allow absolute paths to reference packages that exist within the Logical folder". I think that's it. I also learned a little more about the allowable syntax of AS paths.
Changes are forthcoming
|
I support this change. Let me know if I can help in any way |
|
I am going to merge this tomorrow (7/25), unless objections occur |
What
Adds functions and tweaks behavior to allow for referenced libraries to be used
Why
Primarily, to support development associated with LPM PR 5, which allows the libraries to be added that reference a folder elsewhere